/*
 * Copyright Notice ====================================================
 * This file contains proprietary information of Hewlett-Packard Co.
 * Copying or reproduction without prior written approval is prohibited.
 * Copyright (c) 2013 All rights reserved. =============================
 */

package com.hp.ecs.xqa.vo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import com.hp.ecs.xqa.util.orm.Idable;

@Entity
public class Defect implements Idable {
	@Id
	private Long id;

	private String code;

	@Column(length = 5000)
	private String history;

	@Column(length = 5000)
	private String stackTrace;

	private String location;// class.method-line

	private String entry;// actionClass.method

	private String user;

	private String requestId;

	private Date date;

	private String browser;

	@Column(length = 5000)
	private String memo;

	private String type;

	public Long getId() {
		return id;
	}

	public String getCode() {
		return code;
	}

	public String getHistory() {
		return history;
	}

	public String getLocation() {
		return location;
	}

	public String getEntry() {
		return entry;
	}

	public String getUser() {
		return user;
	}

	public String getRequestId() {
		return requestId;
	}

	public Date getDate() {
		return date;
	}

	public String getBrowser() {
		return browser;
	}

	public String getMemo() {
		return memo;
	}

	public String getType() {
		return type;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public void setHistory(String history) {
		this.history = history;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public void setEntry(String entry) {
		this.entry = entry;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public void setBrowser(String browser) {
		this.browser = browser;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStackTrace() {
		return stackTrace;
	}

	public void setStackTrace(String stackTrace) {
		this.stackTrace = stackTrace;
	}

}
